<AppOrgSelect
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
  :data="record"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
  :data="store.layoutData"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
  :data="store.data"
{{/eq}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.filter}}
  filter="{{item.psEditor.editorParams.filter}}"
  {{/if}}
  {{#if item.psEditor.editorParams.url}}
  url="{{item.psEditor.editorParams.url}}"
  {{/if}}
  {{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
  {{/if}}
  {{#if item.psEditor.editorParams.requestMode}}
  :requestMode="{{lowerCase item.psEditor.editorParams.requestMode}}"
  {{/if}}
  {{#if item.psEditor.editorParams.fillMap}}
  :fillMap="{{item.psEditor.editorParams.fillMap}}"
  {{/if}}
{{/if}}
{{#if item.psEditor.psAppCodeList}}
  codeListTag="{{item.psEditor.psAppCodeList.codeListTag}}"
  codeListType="{{item.psEditor.psAppCodeList.codeListType}}"
  {{#if item.psEditor.psAppCodeList.valueSeparator}}valueSeparator="{{item.psEditor.psAppCodeList.valueSeparator}}"{{/if}}
{{/if}}
{{#if (or (eq item.psEditor.editorStyle 'ORGSELECT') (eq item.psEditor.editorStyle 'ALLORGSELECT'))}}
  :treeCheckable="false"
{{else if (or (eq item.psEditor.editorStyle 'ORGMULTIPLE') (eq item.psEditor.editorStyle 'ALLORGMULTIPLE'))}}
  :treeCheckable="true"
{{/if}}
  :context="store.context"
  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
></AppOrgSelect>